「GIS解惑」ArcGIS计算面积的三种方式

您所在的位置:网站首页 arcgis 数据 「GIS解惑」ArcGIS计算面积的三种方式

「GIS解惑」ArcGIS计算面积的三种方式

2023-04-12 21:24| 来源: 网络整理| 查看: 265

「GIS解惑」ArcGIS计算面积的三种方式 发布时间: 2023-04-08 所属分类: GIS百科 文章标签: ArcGIS投影面积 当前位置: 麻辣GIS » GIS百科 » 「GIS解惑」ArcGIS计算面积的三种方式

我们在使用ArcGIS API for JavaScript计算多边形面积的时候,有一个参数叫 calculationType,这个参数可以有三个不同取值,计算结果也会有所不同,那么这三种计算方式有何不同呢?

三种取值方式

planar: Planar measurements use 2D Cartesian mathematics to calculate length. Use this type if the length needs to be calculated in the input spatial reference otherwise use preserveShape.

geodesic: Use this type to calculate an area or length using only the vertices of the polygon to define the lines connecting the vertices as geodesic segments independent of the actual shape of the polygon. Note: a geodesic segment is the shortest path between two points on an ellipsoid.

preserveShape: Calculate the area or length of the geometry on the surface of the Earth ellipsoid, for geometries defined in a projected or geographic coordinate system. This method preserves the shape of the geometry in its coordinate system which means the true area or length will be calculated for the geometry that is displayed on the map.

三种计算方式的区别

planar计算方式是笛卡尔数学计算,仅通过两点之间距离公式,对xy进行计算。支持计算距离,是XY之间的数学直线距离。面积计算误差较大。因为没有考虑椭球体和投影情况。

geodesic 在椭球体上计算距离和长度,根据提供的地理坐标系采用的椭球体进行计算,变形和误差取决于椭球体的误差,椭球体的误差在不同地区不一样。

preserveShape是在投影坐标系上,提供真实的面积和距离,消除投影带来的误差,如墨卡托投影是等角投影,它对面积是有误差的,不同地区误差不一样。使用这种方式,可以计算真实的面积和距离。

应该如何选择

基本上如果需要计算真实面积,可以将数据采用一个等积投影,然后采用 preserveShape 计算面积。

参考 http://zhihu.geoscene.cn/question/19827 相关阅读 Architecting the ArcGIS System: Best Practices Architecting the ArcGIS System: Best Practices 2023-03-13 「GIS电子书」 Desktop GIS: mapping the planet with open source tools(PDF版本) 「GIS电子书」 Desktop GIS: mapping the planet with open source tools(PDF版本) 2023-02-20 「GIS电子书」 Building Web Applications with ArcGIS: tion froBuild an engaging GIS Web applicam scratch using ArcGIS(PDF版本) 「GIS电子书」 Building Web Applications with ArcGIS: tion froBuild an engaging GIS Web applicam scratch using ArcGIS(PDF版本) 2023-02-12 ArcGIS Pro 3.0 视频安装教程 ArcGIS Pro 3.0 视频安装教程 2023-02-10 「GIS教程」ArcGIS卸载视频教程 「GIS教程」ArcGIS卸载视频教程 2023-02-07 「GIS电子书」 Основы геоэкологии и геоинформационных систем. Построение пространственных моделей средствами ArcView GIS и Spatial Analyst(PDF版本) 「GIS电子书」 Основы геоэкологии и геоинформационных систем. Построение пространственных моделей средствами ArcView GIS и Spatial Analyst(PDF版本) 2023-02-05 麻辣GIS-Sailor

作者:Sailor

GIS爱好者,学GIS,更爱玩GIS。 B站关注 加入QQ群 声明

1.本文所分享的所有需要用户下载使用的内容(包括但不限于软件、数据、图片)来自于网络或者麻辣GIS粉丝自行分享,版权归该下载资源的合法拥有者所有,如有侵权请第一时间联系本站删除。

2.下载内容仅限个人学习使用,请切勿用作商用等其他用途,否则后果自负。

手机阅读 公众号关注 微信打赏 手机阅读 麻辣GIS微信公众号关注 最新GIS干货 赞助麻辣GIS 谢谢老板!! 上一篇:「GIS百科」什么是Polsby Proper Ratio 下一篇:「GIS百科」什么是WKT格式


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3